package com.quanyan.travel.entity.vo;

import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: zyq
 * Date: 2016/5/31 0031
 * Time: 17:15
 */

public class Banner implements Serializable{

    private Integer id;

    private Integer index;

    private Integer activityId;

    @NotBlank
    private String name;

    @NotBlank
    private String displayName;

    @NotBlank
    private String imageUrl;

    private String linkUrl;

    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }
}
